package cn.bonoon.controllers.smm;

import cn.bonoon.kernel.support.models.AbstractItem;
import cn.bonoon.kernel.web.annotations.grid.AsColumn;
import cn.bonoon.kernel.web.annotations.grid.AsDataGrid;
import cn.bonoon.kernel.web.annotations.grid.GridOptions;
import cn.bonoon.kernel.web.annotations.grid.OperationType;

@AsDataGrid(condition = LogCondition.class, value = @GridOptions(operation = OperationType.LEFT, checkbox = false, sortOrder = "desc"))
public class LogItem extends AbstractItem {

	/**
	 * 
	 */
	private static final long serialVersionUID = 9119325018105104387L;
	@AsColumn(name = "用户名称", width = 150, ordinal = 2)
	private String userName;
	@AsColumn(name = "用户账号", width = 100, ordinal = 3)
	private String loginName;
	@AsColumn(name = "操作时间", width = 130, ordinal = 1)
	private String createAt;
	@AsColumn(name = "内容", width = 500, ordinal = 0)
	private String content;

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getCreateAt() {
		return createAt;
	}

	public void setCreateAt(String createAt) {
		this.createAt = createAt;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}
}
